package Liczby;
import junit.framework.TestCase;

public class LiczbyTest extends TestCase {
	public static void test1() {
		String x, y;
		x = Liczby.convTo(18, 2);
		y = Liczby.convTo(89, 15);
		
		assert x != y;
	}
	
	public static void test2() {
		String x;
		x = Liczby.convTo(8, 1);
		
		assertNull(x);
	}
	
	public static void test3() {
		String x, y;
		x = Liczby.convTo(16, 2);
		y = Liczby.convTo(81, 3);
		
		assertNotSame(x, y);
	}
	
	public static void test4() {
		String x, y="11001";
		x = Liczby.convTo(25, 2);
		
		assertEquals(x, y);
	}
	
	public static void test5() {
		String x, y;
		x = Liczby.convTo(16, 2);
		y = x;
		
		assertSame(x, y);
	}
}
